<div>

  <div class="span12 well" ng-hide="selectedScheduler">
    <form>
      <p>The Quartz plugin allows you to see details about running Quartz Schedulers, and their associated triggers and
        jobs.</p>

      <p>Select a Quartz Scheduler in the tree to continue.</p>
    </form>
  </div>

  <div ng-show="selectedScheduler" class="row-fluid">

    <div class="row-fluid">
      <div class="row-fluid">
        <div class="pull-left">
          <form class="form-inline no-bottom-margin">
            <fieldset>
              <div class="controls control-group inline-block controls-row">
                <div class="btn-group">
                  <button
                      ng-disabled="jobsGridOptions.selectedItems.length == 0"
                      class="btn" ng-click="openJobDetailView()" title="Job details">
                    <i class="icon-info"></i></button>
                </div>
              </div>
            </fieldset>
          </form>
        </div>

        <div modal="valueDetails.show" close="valueDetails.close()" options="valueDetails.options">
          <form class="form-horizontal no-bottom-margin" ng-submit="valueDetails.close()">
            <div class="modal-header"><h4>Job DataMap details...</h4></div>
            <div class="modal-body">
              <div ng-bind-html-unsafe="jobsGridOptions.selectedItems[0].detailHtml"></div>
            </div>
            <div class="modal-footer">
              <input class="btn" ng-click="valueDetails.close()" value="Close">
            </div>
          </form>
        </div>

        <div class="pull-right">
         <div class="section-filter">
          <form class="form-inline no-bottom-margin">
            <fieldset>
              <div class="control-group inline-block">
                <input type="text" class="search-query" placeholder="Filter..."
                       ng-model="gridOptions.filterOptions.filterText">
                      <i class="icon-remove clickable"
                        title="Clear filter"
                        ng-click="gridOptions.filterOptions.filterText = ''"></i>
              </div>
            </fieldset>
          </form>
          </div>
        </div>
      </div>
    </div>

    <div class="row-fluid">
      <table class="table table-condensed table-striped" hawtio-simple-table="jobsGridOptions"></table>
    </div>

  </div>

</div>

